package com.zy.batiya.dto;

/**
 * dto基类
 * */
public class BaseDto {

	// 排序列
	private String orderCol = "id";
	// 升降序
	private String order = "desc";
	// 开始位置
	private Integer start = 0;
	// 结束位置
	private Integer size = 10;
	
	public BaseDto(){}

	public BaseDto(String orderCol, String order) {
		super();
		this.orderCol = orderCol;
		this.order = order;
	}

	public String getOrderCol() {
		return orderCol;
	}

	public void setOrderCol(String orderCol) {
		this.orderCol = orderCol;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}
}
